package com.talent.talentgateway.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Set;

/**
 * @ClassName：HelloWorldController
 * @Author: hszhou
 * @Date: 2024/12/6 11:31
 * @Description: 网关测试
 */
@RestController
@RequestMapping
@RefreshScope
public class GatewayFlowRulesController {



//    @Value("${talent.key}")
//    private String key;



    @GetMapping("current")
    public Set<Object> getCurrent(){
        return null;


       // return GatewayRuleManager.getRules("admin-service");
    }
}
